<%--
  - Author(s): Schalk Neethling
  - Date: 31/10/2005
  - Copyright Notice: GNU Public License
  - @(#) create_article.jsp
  - Description: Create a new article.
--%>
<%@ include file="/application/includes/template/app_header.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<%@ include file="/application/includes/template/html_header.jsp" %>
</head>

<body>
<c:import url="../../includes/template/header.jsp" />
<c:import url="../../includes/template/main_nav.jsp" />
<h1>Create your new article</h1>
<form name="create_article" action="process.createArticle" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Article Header</legend>
<label for="heading">Aticle Heading:</label><br />
<input name="heading" type="text" id="heading" tabindex="1" size="35" maxlength="50" />
<label for="lead">Article Lead:</label><br />
<textarea cols="45" name="lead" rows="4" tabindex="2" id="lead">255 Word Limit.</textarea>
</fieldset>
<fieldset>
<legend>Main Article</legend>
<label for="content"></label><br />
<textarea name="content" id="content" cols="45" rows="20" tabindex="3">Enter article main body here.</textarea>
</fieldset>
<fieldset>
<legend>Article Details</legend>
<label for="article_date">Article Date:</label><br />
<input name="article_date" type="text" id="article_date" tabindex="4" size="35" maxlength="50" value="yyyy-mm-dd" />
</fieldset>
<fieldset>
<legend>Article Media</legend>
<label for="img">Select Image:</label><br />
<input name="img" type="file" id="img" tabindex="5" size="35" />
</fieldset>
<fieldset>
<legend>Controls</legend>
<input name="Submit" type="submit" id="submit" tabindex="6" />
</fieldset>
</form>
<jsp:include page="../../includes/template/footer.jsp" flush="true" />
</body>
</html>